var App = (function(App, $, _){

	App.modules = {};

	App.init = function() {

		// initialize modules
		_.each(App.modules, function(module){
			if(module.hasOwnProperty("init")) {
				if(_.isFunction(module.init)) module.init();
			}
		});
	};

	// initialize App once API is ready
	gapi.hangout.onApiReady.add(App.init);

	return App;

}(App || {}, $, _));